Skip to content

Add schema for editor_options in front matter (#14032)#14033

Merged
cscheid merged 1 commit intomainfrom
feature/14032
Feb 12, 2026
Merged

Add schema for editor_options in front matter (#14032)#14033
cscheid merged 1 commit intomainfrom
feature/14032

Conversation

@cscheid
Copy link
Collaborator

@cscheid cscheid commented Feb 12, 2026

Adds editor_options with chunk_output_type (inline | console) to the YAML schema, enabling autocompletion and validation in Positron and other editors.

Adds editor_options with chunk_output_type (inline | console) to the
YAML schema, enabling autocompletion and validation in Positron and
other editors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Feb 12, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cscheid
Copy link
Collaborator Author

cscheid commented Feb 12, 2026

Those .mjs regex changes are unexpected, but I think they're due to a change in esbuild behavior. The relevant code is in src/command/dev-call/build-artifacts/cmd.ts,

  const vsCodeSrc = await esbuild(
    resourcePath("../core/lib/yaml-intelligence"),
    "vs-code.ts",
    "esm",
    false,
  );

  const treeSitter = Deno.readTextFileSync(
    resourcePath("editor/tools/yaml/tree-sitter.js"),
  );
  ensureAllowableIDESyntax(treeSitter, "tree-sitter.js");

  Deno.writeTextFileSync(
    resourcePath("editor/tools/vs-code.mjs"),
    [treeSitter, vsCodeSrc].join(""),
  );

@cscheid cscheid merged commit 5fef98d into main Feb 12, 2026
51 checks passed
@cscheid cscheid deleted the feature/14032 branch February 12, 2026 23:07
@cderv cderv linked an issue Feb 13, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema for editor / editor_options in front matter

2 participants